
public abstract class AbstractAdress {
	protected String town;
	protected String street;
	protected int zip;
	protected int number;
	
	public AbstractAdress(String t, String s, int z, int n){
		town=t;
		street=s;
		zip=z;
		number=n;
	}

	public String getTown() {
		return town;
	}
	public void setTown(String town) {
		this.town = town;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public int getZip() {
		return zip;
	}
	public void setZip(int zip) {
		this.zip = zip;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}

	public abstract void afficherAdress();
}
